package com.zhai.boot.domain.in;

import com.zhai.boot.domain.in.base.GridIn;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @author Created by 翟凤玺
 * @package com.zhai.boot.domain.in
 * @project-name zhai-boot
 * @description 交易分页查询
 * @create-datetime 2020-5-8 10:34
 */
@Data
public class DealGridIn extends GridIn {

    @Size(min = 1, max = 20, message = "流水号长度在1-20位")
    @ApiModelProperty(value = "流水号", example ="123", required = true)
    private String serialNum;

    @Size(min = 1, max = 10, message = "支付账户长度在1-10位")
    @ApiModelProperty(value = "支付账户", example ="123", required = true)
    private String account;

    @Size(min = 0, max = 200, message = "备注长度在0-200位")
    @ApiModelProperty(value = "备注", example ="123")
    private String remark;
}